package com.ffcs.crmd.tsp.task.job.api;

import com.ffcs.crmd.tsp.common.exception.TspJobExecutionException;

/**
 * 
 * 功能说明:普通任务
 *
 * @author FFCS-ZHONGFUHUA
 * 
 * @since 1.0.0-SNAPSHOT
 * 
 * @see com.ffcs.crmd.tsp.api.task.job.IJob
 */
@Deprecated
public interface IJob<T>{
    
    /**
     * 
     * 功能说明:任务入口执行方法
     * 
     * @param context 上下文环境
     * @throws TspJobExecutionException
     */
    public void execute(IJobExecutionContext<T> context) throws TspJobExecutionException;
    
}
